﻿using System.Collections.Generic;

namespace AutoBuildEntity.Model
{
    /// <summary>
    /// 模版实体
    /// </summary>
    public class TemplateModel
    {
        public TemplateModel(string tableName, List<TableColumnModel> columns, string namespacePar)
        {
            TableName = tableName;
            TableNameDo = tableName.Replace("Tab", "") + "Do";
            Columns = columns;
            NamespacePar = namespacePar;
        }
        public string TableName { get; private set; }

        public string TableNameDo { get; private set; }
        public List<TableColumnModel> Columns { get; private set; }

        public string NamespacePar { get; private set; }
    }
}
